package com.pinda.controller;



import com.pinda.base.entity.PdGoodsType;
import com.pinda.service.IPdGoodsTypeService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;


/**
 * <p>
 * 货物类型表 前端控制器
 * </p>
 *
 * @author lc
 * @since 2023-06-14
 */
@RestController
@RequestMapping("/pd-goods-type")
public class PdGoodsTypeController {

    @Resource
    private IPdGoodsTypeService iPdGoodsTypeService;

    @PostMapping("getListPdGoodsType")
    public List<PdGoodsType> getListPdGoodsType(){

        return iPdGoodsTypeService.list();
    }

}
